﻿/*****************************************************************
// Copyright (C)
// All rights reserved.
// 
// Author:       WYQ
// Create Date:  2012-8-2 9:53:10
// Usage: 持久化模型
*****************************************************************/
using System;
using System.ComponentModel.DataAnnotations;


namespace Portal
{

    [Serializable]
    public partial class Menu:Entity,IMenu
    {   
    
    
        [StringLength(255, ErrorMessage = "'Name'字符过长")]
        public virtual string Name {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'Url'字符过长")]
        public virtual string Url {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'Icon'字符过长")]
        public virtual string Icon {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'ParentId'字符过长")]
        public virtual string ParentId {get;set;}
        
    
    
        public virtual long Depth {get;set;}
        
    
    
        [StringLength(255, ErrorMessage = "'Culture'字符过长")]
        public virtual string Culture {get;set;}
        
    
    
        public virtual long Sort {get;set;}
        
    }
   }



